<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>position:relative定位</title>
<style type="text/css">
.box {width: 100%;position: relative;left:0px;top:0px; }
.img1 {position: absolute;top:30px;left:390px;width:150px;}
</style>
</head>

<body>
    <div class="box">
        <img src="背景图.jpg" style="width: 100%;" />
        <img src="1.png" class="img1" />
        <img src="2.png" class="img1" style="top: 150px;" />
        <img src="3.png" class="img1" />
        <img src="4.png" class="img1" />
        <img src="5.png" class="img1" />
    </div>
</body>
</html>
